package org.webball.base.interfaces;
import org.webball.pitch.Pitch;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.SlickException;

/**
 * Interface that provides drawing graphics.
 * @author Jakub Garczynski
 *
 */

public interface IDraw {

	/**
	 * Draws pitch, players and ball
	 * @param g 
	 * - graphics handler, necessary to draw
	 * @param p 
	 * - specifies real position of players and ball
	 * @throws SlickException 
	 */
	
	public void draw(Graphics g, Pitch p) throws SlickException;
	
}
